import request from '@/utils/request' // 导入封装请求的js文件

export function getHelpList (params) {
  return request({
    url: '/UmsAdminConfig/selectSystemSettingPage',
    method: 'get',
    params: params
  })
}

export function addHelpContent (params) {
  return request({
    url: '/UmsAdminConfig/saveSystemSettingInfo',
    method: 'POST',
    data: params
  })
}
export function editHelpContent (params) {
  return request({
    url: '/UmsAdminConfig/updateSystemSettingInfo',
    method: 'PUT',
    data: params
  })
}
export function deleteHelpContent (params) {
  return request({
    url: '/UmsAdminConfig/deleteSystemSetting',
    method: 'DELETE',
    params: params
  })
}
//获取关于我们
export function selectAboutUs (params) {
  return request({
    url: '/UmsAdminConfig/selectAboutUs',
    method: 'GET',
    params: params
  })
}
//设置关于我们
export function saveAboutUs (params) {
  return request({
    url: '/UmsAdminConfig/saveAboutUs',
    method: 'post',
    data: params
  })
}